{% extends './home/base.html' %}
{% block header %}
    <link rel="stylesheet" href="{{ url_for('static',filename="css/login.css") }}">
{% endblock %}

{% block content %}
    <div class="login-container">
        <form method="post" action="/login" class="login-form ">
            <h3>{{ title }}</h3>
            <hr>
            <div class="form-group mb-3">
                <input maxlength="11" name="mem_tel" type="text" class="form-control" placeholder="请输入账号">
                <small class="form-text text-danger">{{ error_account }}</small>
            </div>
            <div class="form-group mb-3">
                <input name="mem_password"  type="password" class="form-control" placeholder="请输入密码">
            </div>

            <div class="form-group">
                <button class="btn btn-primary btn-block">立即登录</button>
                <a href="/register" class="btn btn-link">没有账号, 立即注册</a>
            </div>
        </form>
    </div>
{% endblock %}